package com.jinmdz.fmis.dao.model.search;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BasePageData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 火化数据查询
 *
 * @author GuanKui
 * @date 2020/2/25 14:37
 */
@ApiModel(value = "火化数据查询", description = "火化数据查询")
public class SearchCremationData extends BasePageData {

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 2)
    private String deadName;

    /**
     * 火化预约日期段，开始日期（含）
     */
    @ApiModelProperty(value = "火化预约日期段，开始日期（含）", name = "appointmentDateStart", example = "2020-03-07", position = 3)
    @JsonFormat(pattern = yyyy_MM_dd)
    private Date appointmentDateStart;

    /**
     * 火化预约日期段，截止日期（含）
     */
    @ApiModelProperty(value = "火化预约日期段，截止日期（含）", name = "appointmentDateEnd", example = "2020-03-07", position = 4)
    @JsonFormat(pattern = yyyy_MM_dd)
    private Date appointmentDateEnd;

    public String getBusinessCode() {
        return businessCode;
    }

    public SearchCremationData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public SearchCremationData setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public Date getAppointmentDateStart() {
        return appointmentDateStart;
    }

    public SearchCremationData setAppointmentDateStart(Date appointmentDateStart) {
        this.appointmentDateStart = appointmentDateStart;
        return this;
    }

    public Date getAppointmentDateEnd() {
        return appointmentDateEnd;
    }

    public SearchCremationData setAppointmentDateEnd(Date appointmentDateEnd) {
        this.appointmentDateEnd = appointmentDateEnd;
        return this;
    }
}
